package game.snake.state;

import java.io.Serializable;

import game.snake.Snake;

/** The state of snake. */
public abstract class SnakeState implements Serializable {
	
	/** The snake that reference. */
	protected Snake snake;
	
	/** Constructor with giving snake.
	 * @param snake the snake for reference
	 */
	protected SnakeState(Snake snake){
		this.snake = snake;
	}
	
	/** The snake move under its state. */
	public abstract void move();
	
	
}
